package com.appkubes.mall.core.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
/**
 * 活动商品
 * @author Rongjie
 */
@Data
@TableName("mall_activity_goods")
@KeySequence(value = "mall_activity_goods_SEQ")
@ApiModel(value = "MallActivityGoods对象")
public class MallActivityGoods implements Serializable{

       private String appKey;

       @TableId(value = "activity_goods_key", type = IdType.UUID)
       private String activityGoodsKey;

       @ApiModelProperty(value = "活动KEY")
       private String activityKey;

       @ApiModelProperty(value = "关联的商品KEY")
       private String goodsKey;

       @ApiModelProperty(value = "佣金比例(百分比)")
       private BigDecimal brokerageRate;

       @ApiModelProperty(value = "佣金")
       private BigDecimal brokerageAmount;

}
